import http from '@/utils/http'

// 面试技巧列表
function apiGetFaceList ({ start, limit, q }) {
  return http({
    url: '/articles/technic',
    params: {
      start,
      limit,
      q
    },
    needToken: true
  })
}

// 面试技巧详情
function apiGetFaceInfo (id) {
  return http({
    url: `/articles/technic/${id}`
  })
}
// 面试技巧热搜
function apiHotFace (id) {
  return http({
    url: '/articles/technicTopSearch'
  })
}

export { apiGetFaceList, apiGetFaceInfo, apiHotFace }
